package com.baosight.risk.service.riim.entity;

import com.baosight.risk.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.*;

import lombok.Data;

/**
 * Table: T_RIIM_RISK_EVALUATION
 */
@Data
@ApiModel
@Table(name = "T_RIIM_RISK_EVALUATION")
public class RiimRiskEvaluation extends BaseEntity {

    /**
     * 重点风险ID
     * <p>
     * Table:     T_RIIM_RISK_EVALUATION
     * Column:    IMPORT_GUID
     * Nullable:  true
     */
    @ApiModelProperty("重点风险ID")
    @Column(name = "IMPORT_GUID")
    private String importGuid;

    /**
     * 风险点ID
     * <p>
     * Table:     T_RIIM_RISK_EVALUATION
     * Column:    RISK_ID
     * Nullable:  false
     */
    @ApiModelProperty("风险点ID")
    @Column(name = "RISK_ID")
    private String riskId;

    /**
     * 主要风险点
     * <p>
     * Table:     T_RIIM_RISK_EVALUATION
     * Column:    RISK_NAME
     * Nullable:  true
     */
    @ApiModelProperty("主要风险点")
    @Column(name = "RISK_NAME")
    private String riskName;

    /**
     * 应对策略（风险承担、风险规避、风险转移、风险控制）
     * <p>
     * Table:     T_RIIM_RISK_EVALUATION
     * Column:    STRATEGY_CODE
     * Nullable:  true
     */
    @ApiModelProperty("应对策略（风险承担、风险规避、风险转移、风险控制）")
    @Column(name = "STRATEGY_CODE")
    private String strategyCode;

    /**
     * 应对策略说明
     * <p>
     * Table:     T_RIIM_RISK_EVALUATION
     * Column:    STRATEGY_NAME
     * Nullable:  true
     */
    @ApiModelProperty("应对策略说明")
    @Column(name = "STRATEGY_NAME")
    private String strategyName;

    /**
     * 排序
     * <p>
     * Table:     T_RIIM_RISK_EVALUATION
     * Column:    ROW_ORDER
     * Nullable:  true
     */
    @ApiModelProperty("排序")
    @Column(name = "ROW_ORDER")
    private Integer rowOrder;

    private static final long serialVersionUID = 1L;
}